import {createSlice} from "@reduxjs/toolkit";

const weiboSlice = createSlice({
    name:'weibo',
    initialState:{
        contentList:[]
    },
    reducers:{
        upContentList(state,{payload}){
            state.contentList = payload;
        }
    }
})

export const {upContentList} = weiboSlice.actions
export default weiboSlice.reducer